#include "bsp.h"




void LED_R_Task(void *p_arg){
	p_arg = p_arg;
	LED_Wai_Init(LED_RED);
	while(1){
		LED_RED_ON();
		OSTimeDlyHMSM(0,0,0,1000);
		LED_RED_OFF();
		OSTimeDlyHMSM(0,0,0,1000);
	}
}

void LED_G_Task(void *p_arg){
	p_arg = p_arg;
	LED_Wai_Init(LED_GREEN);
	while(1){
		LED_GREEN_ON();
		OSTimeDlyHMSM(0,0,0,500);
		LED_GREEN_OFF();
		OSTimeDlyHMSM(0,0,0,500);
	}
}